package com.suxin.plugin.intergration.manager.loader.path;

import java.util.Collection;
import java.util.HashSet;
import java.util.Set;

/**
 * @author Tang
 * @classname PluginClasspath
 * @description [ 插件加载位置 ]
 * @date 2022/7/3 21:40
 */
public class PluginClasspath {

    private Set<String> classesDirectories = new HashSet<>();
    private Set<String> jarsDirectories = new HashSet<>();

    public PluginClasspath addJarsDirectories(Collection<String> jarsDirectories) {
        this.jarsDirectories.addAll(jarsDirectories);
        return this;
    }

    public Set<String> getClassesDirectories() {
        return classesDirectories;
    }

    public Set<String> getJarsDirectories() {
        return jarsDirectories;
    }
}
